1 SDK protocol version request.

<?xml version="1.0" encoding="utf-8"?>

<sdk guid="##GUID">

<in method="GetIFVersion">

<version value="1000000"/>

</in>

</sdk>

Description

1.       After establishing a TCP connection, first negotiate the transport protocol version and then negotiate the SDK protocol version.

2.       The fields in the packet are only the value of the version attribute value is variable, and the other attribute values are fixed values.

3.       The version attribute value indicates the hexadecimal value representation of the SDK protocol version. The current version of the SDK protocol is 0x1000000.

2  SDK protocol version response.

 

<?xml version="1.0" encoding="utf-8"?>

<sdk guid="f7b3b451c4f3cf3310e2d6714fbb50e8">

<out method="GetIFVersion" result="kSuccess">

<version value="1000000"/>

</out>

</sdk>

Description

1.       After the upper computer sends the SDK protocol version request to the lower computer, the lower computer returns a guid value for subsequent SDK protocol interaction.

2.       If the attribute of the out tag has a value other than kSuccess, it indicates an error. At this time, the out tag has no child nodes.